home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / share / glchess / new_game.ui < prev    next >
Extensible Markup Language  |  2009-09-22  |  25KB  |  461 lines

  1. <?xml version="1.0"?>
  2. <interface>
  3.   <requires lib="gtk+" version="2.16"/>
  4.   <!-- interface-naming-policy toplevel-contextual -->
  5.   <object class="GtkDialog" id="new_game_dialog">
  6.     <property name="border_width">5</property>
  7.     <property name="title" translatable="yes" comments="Title of the new game dialog">New Game</property>
  8.     <property name="type_hint">dialog</property>
  9.     <property name="has_separator">False</property>
  10.     <signal name="response" handler="_on_response"/>
  11.     <child internal-child="vbox">
  12.       <object class="GtkVBox" id="dialog-vbox3">
  13.         <property name="visible">True</property>
  14.         <property name="spacing">2</property>
  15.         <child>
  16.           <object class="GtkVBox" id="vbox1">
  17.             <property name="visible">True</property>
  18.             <property name="border_width">5</property>
  19.             <property name="spacing">18</property>
  20.             <child>
  21.               <object class="GtkTable" id="info_box">
  22.                 <property name="border_width">6</property>
  23.                 <property name="n_rows">2</property>
  24.                 <property name="n_columns">2</property>
  25.                 <property name="column_spacing">6</property>
  26.                 <property name="row_spacing">6</property>
  27.                 <child>
  28.                   <object class="GtkImage" id="image4">
  29.                     <property name="visible">True</property>
  30.                     <property name="xalign">0</property>
  31.                     <property name="yalign">0</property>
  32.                     <property name="icon_name">gtk-dialog-info</property>
  33.                     <property name="icon-size">6</property>
  34.                   </object>
  35.                   <packing>
  36.                     <property name="bottom_attach">2</property>
  37.                     <property name="x_options">GTK_FILL</property>
  38.                   </packing>
  39.                 </child>
  40.                 <child>
  41.                   <object class="GtkLabel" id="info_title_label">
  42.                     <property name="visible">True</property>
  43.                     <property name="xalign">0</property>
  44.                     <property name="label"><big><b>Title</b></big></property>
  45.                     <property name="use_markup">True</property>
  46.                   </object>
  47.                   <packing>
  48.                     <property name="left_attach">1</property>
  49.                     <property name="right_attach">2</property>
  50.                     <property name="y_options">GTK_FILL</property>
  51.                   </packing>
  52.                 </child>
  53.                 <child>
  54.                   <object class="GtkLabel" id="info_description_label">
  55.                     <property name="visible">True</property>
  56.                     <property name="xalign">0</property>
  57.                     <property name="label"><i>Description</i></property>
  58.                     <property name="use_markup">True</property>
  59.                   </object>
  60.                   <packing>
  61.                     <property name="left_attach">1</property>
  62.                     <property name="right_attach">2</property>
  63.                     <property name="top_attach">1</property>
  64.                     <property name="bottom_attach">2</property>
  65.                     <property name="x_options">GTK_FILL</property>
  66.                     <property name="y_options"></property>
  67.                   </packing>
  68.                 </child>
  69.               </object>
  70.               <packing>
  71.                 <property name="position">0</property>
  72.               </packing>
  73.             </child>
  74.             <child>
  75.               <object class="GtkVBox" id="frame3">
  76.                 <property name="visible">True</property>
  77.                 <property name="spacing">6</property>
  78.                 <child>
  79.                   <object class="GtkLabel" id="label60">
  80.                     <property name="visible">True</property>
  81.                     <property name="xalign">0</property>
  82.                     <property name="label" translatable="yes" comments="New Game Dialog: Title above the game properties widgets"><b>Game Properties</b></property>
  83.                     <property name="use_markup">True</property>
  84.                   </object>
  85.                   <packing>
  86.                     <property name="expand">False</property>
  87.                     <property name="fill">False</property>
  88.                     <property name="position">0</property>
  89.                   </packing>
  90.                 </child>
  91.                 <child>
  92.                   <object class="GtkAlignment" id="alignment5">
  93.                     <property name="visible">True</property>
  94.                     <property name="left_padding">12</property>
  95.                     <child>
  96.                       <object class="GtkTable" id="table5">
  97.                         <property name="visible">True</property>
  98.                         <property name="n_rows">3</property>
  99.                         <property name="n_columns">2</property>
  100.                         <property name="column_spacing">12</property>
  101.                         <property name="row_spacing">6</property>
  102.                         <child>
  103.                           <object class="GtkLabel" id="label1">
  104.                             <property name="visible">True</property>
  105.                             <property name="xalign">0</property>
  106.                             <property name="label" translatable="yes" comments="New Game Dialog: Label before the game name entry">_Game name:</property>
  107.                             <property name="use_underline">True</property>
  108.                             <property name="mnemonic_widget">game_name_entry</property>
  109.                           </object>
  110.                           <packing>
  111.                             <property name="x_options">GTK_FILL</property>
  112.                             <property name="y_options"></property>
  113.                           </packing>
  114.                         </child>
  115.                         <child>
  116.                           <object class="GtkEntry" id="game_name_entry">
  117.                             <property name="visible">True</property>
  118.                             <property name="can_focus">True</property>
  119.                             <property name="tooltip_text" translatable="yes">Enter the title for this game</property>
  120.                             <property name="width_chars">25</property>
  121.                             <signal name="changed" handler="_on_game_name_edited"/>
  122.                           </object>
  123.                           <packing>
  124.                             <property name="left_attach">1</property>
  125.                             <property name="right_attach">2</property>
  126.                             <property name="y_options"></property>
  127.                           </packing>
  128.                         </child>
  129.                         <child>
  130.                           <object class="GtkLabel" id="label2">
  131.                             <property name="visible">True</property>
  132.                             <property name="xalign">0</property>
  133.                             <property name="label" translatable="yes" comments="New Game Dialog: Label before game timer settings">Move _Time:</property>
  134.                             <property name="use_underline">True</property>
  135.                             <property name="mnemonic_widget">time_combo</property>
  136.                           </object>
  137.                           <packing>
  138.                             <property name="top_attach">1</property>
  139.                             <property name="bottom_attach">2</property>
  140.                             <property name="x_options">GTK_FILL</property>
  141.                             <property name="y_options"></property>
  142.                           </packing>
  143.                         </child>
  144.                         <child>
  145.                           <object class="GtkComboBox" id="time_combo">
  146.                             <property name="visible">True</property>
  147.                             <signal name="changed" handler="_on_time_changed"/>
  148.                           </object>
  149.                           <packing>
  150.                             <property name="left_attach">1</property>
  151.                             <property name="right_attach">2</property>
  152.                             <property name="top_attach">1</property>
  153.                             <property name="bottom_attach">2</property>
  154.                             <property name="y_options">GTK_FILL</property>
  155.                           </packing>
  156.                         </child>
  157.                         <child>
  158.                           <object class="GtkAlignment" id="custom_time_box">
  159.                             <property name="left_padding">18</property>
  160.                             <child>
  161.                               <object class="GtkHBox" id="hbox22">
  162.                                 <property name="visible">True</property>
  163.                                 <property name="spacing">6</property>
  164.                                 <child>
  165.                                   <object class="GtkSpinButton" id="custom_time_spin">
  166.                                     <property name="visible">True</property>
  167.                                     <property name="can_focus">True</property>
  168.                                     <property name="adjustment">adjustment1</property>
  169.                                     <property name="climb_rate">1</property>
  170.                                     <property name="numeric">True</property>
  171.                                   </object>
  172.                                   <packing>
  173.                                     <property name="position">0</property>
  174.                                   </packing>
  175.                                 </child>
  176.                                 <child>
  177.                                   <object class="GtkComboBox" id="custom_time_units_combo">
  178.                                     <property name="visible">True</property>
  179.                                   </object>
  180.                                   <packing>
  181.                                     <property name="position">1</property>
  182.                                   </packing>
  183.                                 </child>
  184.                               </object>
  185.                             </child>
  186.                           </object>
  187.                           <packing>
  188.                             <property name="left_attach">1</property>
  189.                             <property name="right_attach">2</property>
  190.                             <property name="top_attach">2</property>
  191.                             <property name="bottom_attach">3</property>
  192.                             <property name="x_options">GTK_FILL</property>
  193.                             <property name="y_options">GTK_FILL</property>
  194.                           </packing>
  195.                         </child>
  196.                         <child>
  197.                           <placeholder/>
  198.                         </child>
  199.                       </object>
  200.                     </child>
  201.                   </object>
  202.                   <packing>
  203.                     <property name="position">1</property>
  204.                   </packing>
  205.                 </child>
  206.               </object>
  207.               <packing>
  208.                 <property name="expand">False</property>
  209.                 <property name="position">1</property>
  210.               </packing>
  211.             </child>
  212.             <child>
  213.               <object class="GtkVBox" id="frame1">
  214.                 <property name="visible">True</property>
  215.                 <property name="spacing">6</property>
  216.                 <child>
  217.                   <object class="GtkLabel" id="label58">
  218.                     <property name="visible">True</property>
  219.                     <property name="xalign">0</property>
  220.                     <property name="label" translatable="yes" comments="New Game Dialog: Title above player options"><b>Players</b></property>
  221.                     <property name="use_markup">True</property>
  222.                   </object>
  223.                   <packing>
  224.                     <property name="expand">False</property>
  225.                     <property name="fill">False</property>
  226.                     <property name="position">0</property>
  227.                   </packing>
  228.                 </child>
  229.                 <child>
  230.                   <object class="GtkAlignment" id="alignment3">
  231.                     <property name="visible">True</property>
  232.                     <property name="left_padding">12</property>
  233.                     <child>
  234.                       <object class="GtkTable" id="white_ai_properties_table">
  235.                         <property name="visible">True</property>
  236.                         <property name="n_rows">2</property>
  237.                         <property name="n_columns">2</property>
  238.                         <property name="column_spacing">12</property>
  239.                         <property name="row_spacing">6</property>
  240.                         <child>
  241.                           <object class="GtkLabel" id="label4">
  242.                             <property name="visible">True</property>
  243.                             <property name="xalign">0</property>
  244.                             <property name="label" translatable="yes" comments="New Game Dialog: Label before black player combo box">_Black:</property>
  245.                             <property name="use_underline">True</property>
  246.                             <property name="mnemonic_widget">black_type_combo</property>
  247.                           </object>
  248.                           <packing>
  249.                             <property name="top_attach">1</property>
  250.                             <property name="bottom_attach">2</property>
  251.                             <property name="x_options">GTK_FILL</property>
  252.                             <property name="y_options"></property>
  253.                           </packing>
  254.                         </child>
  255.                         <child>
  256.                           <object class="GtkLabel" id="label3">
  257.                             <property name="visible">True</property>
  258.                             <property name="xalign">0</property>
  259.                             <property name="label" translatable="yes" comments="New Game Dialog: Label before white player combo box">_White:</property>
  260.                             <property name="use_underline">True</property>
  261.                             <property name="mnemonic_widget">white_type_combo</property>
  262.                           </object>
  263.                           <packing>
  264.                             <property name="x_options">GTK_FILL</property>
  265.                             <property name="y_options"></property>
  266.                           </packing>
  267.                         </child>
  268.                         <child>
  269.                           <object class="GtkComboBox" id="white_type_combo">
  270.                             <property name="visible">True</property>
  271.                             <signal name="changed" handler="_on_properties_changed"/>
  272.                           </object>
  273.                           <packing>
  274.                             <property name="left_attach">1</property>
  275.                             <property name="right_attach">2</property>
  276.                             <property name="y_options">GTK_FILL</property>
  277.                           </packing>
  278.                         </child>
  279.                         <child>
  280.                           <object class="GtkComboBox" id="black_type_combo">
  281.                             <property name="visible">True</property>
  282.                             <signal name="changed" handler="_on_properties_changed"/>
  283.                           </object>
  284.                           <packing>
  285.                             <property name="left_attach">1</property>
  286.                             <property name="right_attach">2</property>
  287.                             <property name="top_attach">1</property>
  288.                             <property name="bottom_attach">2</property>
  289.                             <property name="y_options">GTK_FILL</property>
  290.                           </packing>
  291.                         </child>
  292.                       </object>
  293.                     </child>
  294.                   </object>
  295.                   <packing>
  296.                     <property name="position">1</property>
  297.                   </packing>
  298.                 </child>
  299.               </object>
  300.               <packing>
  301.                 <property name="expand">False</property>
  302.                 <property name="position">2</property>
  303.               </packing>
  304.             </child>
  305.             <child>
  306.               <object class="GtkVBox" id="frame2">
  307.                 <property name="visible">True</property>
  308.                 <property name="spacing">6</property>
  309.                 <child>
  310.                   <object class="GtkLabel" id="label59">
  311.                     <property name="visible">True</property>
  312.                     <property name="xalign">0</property>
  313.                     <property name="label" translatable="yes" comments="New Game Dialog: Title above difficulty options"><b>Difficulty</b></property>
  314.                     <property name="use_markup">True</property>
  315.                   </object>
  316.                   <packing>
  317.                     <property name="expand">False</property>
  318.                     <property name="fill">False</property>
  319.                     <property name="position">0</property>
  320.                   </packing>
  321.                 </child>
  322.                 <child>
  323.                   <object class="GtkAlignment" id="alignment4">
  324.                     <property name="visible">True</property>
  325.                     <property name="left_padding">12</property>
  326.                     <child>
  327.                       <object class="GtkTable" id="black_ai_properties_table">
  328.                         <property name="visible">True</property>
  329.                         <property name="n_rows">2</property>
  330.                         <property name="n_columns">2</property>
  331.                         <property name="column_spacing">12</property>
  332.                         <property name="row_spacing">6</property>
  333.                         <child>
  334.                           <object class="GtkLabel" id="label5">
  335.                             <property name="visible">True</property>
  336.                             <property name="xalign">0</property>
  337.                             <property name="label" translatable="yes" comments="New Game Dialog: Label before white player difficulty">W_hite:</property>
  338.                             <property name="use_underline">True</property>
  339.                             <property name="mnemonic_widget">white_difficulty_combo</property>
  340.                           </object>
  341.                           <packing>
  342.                             <property name="x_options">GTK_FILL</property>
  343.                             <property name="y_options"></property>
  344.                           </packing>
  345.                         </child>
  346.                         <child>
  347.                           <object class="GtkLabel" id="label6">
  348.                             <property name="visible">True</property>
  349.                             <property name="xalign">0</property>
  350.                             <property name="label" translatable="yes" comments="New Game Dialog: Label before black player difficulty">B_lack:</property>
  351.                             <property name="use_underline">True</property>
  352.                             <property name="mnemonic_widget">black_difficulty_combo</property>
  353.                           </object>
  354.                           <packing>
  355.                             <property name="top_attach">1</property>
  356.                             <property name="bottom_attach">2</property>
  357.                             <property name="x_options">GTK_FILL</property>
  358.                             <property name="y_options"></property>
  359.                           </packing>
  360.                         </child>
  361.                         <child>
  362.                           <object class="GtkComboBox" id="white_difficulty_combo">
  363.                             <property name="visible">True</property>
  364.                             <signal name="changed" handler="_on_properties_changed"/>
  365.                           </object>
  366.                           <packing>
  367.                             <property name="left_attach">1</property>
  368.                             <property name="right_attach">2</property>
  369.                             <property name="y_options">GTK_FILL</property>
  370.                           </packing>
  371.                         </child>
  372.                         <child>
  373.                           <object class="GtkComboBox" id="black_difficulty_combo">
  374.                             <property name="visible">True</property>
  375.                             <signal name="changed" handler="_on_properties_changed"/>
  376.                           </object>
  377.                           <packing>
  378.                             <property name="left_attach">1</property>
  379.                             <property name="right_attach">2</property>
  380.                             <property name="top_attach">1</property>
  381.                             <property name="bottom_attach">2</property>
  382.                             <property name="y_options">GTK_FILL</property>
  383.                           </packing>
  384.                         </child>
  385.                       </object>
  386.                     </child>
  387.                   </object>
  388.                   <packing>
  389.                     <property name="position">1</property>
  390.                   </packing>
  391.                 </child>
  392.               </object>
  393.               <packing>
  394.                 <property name="expand">False</property>
  395.                 <property name="position">3</property>
  396.               </packing>
  397.             </child>
  398.           </object>
  399.           <packing>
  400.             <property name="position">1</property>
  401.           </packing>
  402.         </child>
  403.         <child internal-child="action_area">
  404.           <object class="GtkHButtonBox" id="dialog-action_area3">
  405.             <property name="visible">True</property>
  406.             <property name="layout_style">end</property>
  407.             <child>
  408.               <object class="GtkButton" id="cancelbutton1">
  409.                 <property name="label">gtk-cancel</property>
  410.                 <property name="visible">True</property>
  411.                 <property name="can_focus">True</property>
  412.                 <property name="can_default">True</property>
  413.                 <property name="receives_default">False</property>
  414.                 <property name="use_stock">True</property>
  415.               </object>
  416.               <packing>
  417.                 <property name="expand">False</property>
  418.                 <property name="fill">False</property>
  419.                 <property name="position">0</property>
  420.               </packing>
  421.             </child>
  422.             <child>
  423.               <object class="GtkButton" id="start_button">
  424.                 <property name="label" translatable="yes" comments="New Game Dialog: Button to start a new game">_Start</property>
  425.                 <property name="visible">True</property>
  426.                 <property name="can_focus">True</property>
  427.                 <property name="has_focus">True</property>
  428.                 <property name="can_default">True</property>
  429.                 <property name="has_default">True</property>
  430.                 <property name="receives_default">False</property>
  431.                 <property name="tooltip_text" translatable="yes">Start the game. The game can be started once all fields are complete</property>
  432.                 <property name="use_underline">True</property>
  433.               </object>
  434.               <packing>
  435.                 <property name="expand">False</property>
  436.                 <property name="fill">False</property>
  437.                 <property name="position">1</property>
  438.               </packing>
  439.             </child>
  440.           </object>
  441.           <packing>
  442.             <property name="expand">False</property>
  443.             <property name="pack_type">end</property>
  444.             <property name="position">0</property>
  445.           </packing>
  446.         </child>
  447.       </object>
  448.     </child>
  449.     <action-widgets>
  450.       <action-widget response="-6">cancelbutton1</action-widget>
  451.       <action-widget response="-5">start_button</action-widget>
  452.     </action-widgets>
  453.   </object>
  454.   <object class="GtkAdjustment" id="adjustment1">
  455.     <property name="value">1</property>
  456.     <property name="upper">300</property>
  457.     <property name="step_increment">1</property>
  458.     <property name="page_increment">10</property>
  459.   </object>
  460. </interface>
  461.